package com.st.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;


/**
 * 已购买产品学习记录对象 st_study_records
 *
 * @author zhw
 * @date 2024-10-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("st_study_records")
public class StStudyRecords  implements Serializable
        {
private static final long serialVersionUID = 1L;

    /** 编号 */
        @TableId(value="id",type=IdType.AUTO)
    private Integer id;

    /** 课程 */
            @Excel(name = "课程")
        @TableField(value = "course_id")
    private Integer courseId;

    /** 章节 */
            @Excel(name = "章节")
        @TableField(value = "chapter_id")
    private Integer chapterId;

            /** 用户 */
            @Excel(name = "用户")
            @TableField(value = "user_id")
            private Integer userId;

    /** 学习状态 */
            @Excel(name = "学习状态")
        @TableField(value = "study_status")
    private Integer studyStatus;



}
